{% extends "base.html" %}

{% block title %}数据库{% endblock %}
{% block head %}
    {{ super() }}
    <script src="{{ url_for('static',filename='jquery/jquery-3.2.1.min.js')}}"></script>
<link rel="stylesheet" href="{{ url_for('static',filename='css/reset.css') }}">
    <link rel="stylesheet" href="{{ url_for('static',filename='css/main.css') }}">
     <script type="text/javascript" src="{{ url_for('static',filename='js/main.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static',filename='js/index1.js') }}"></script>
{% endblock %}

{% block body %}

     <div class="conter_con" style="
    ">
      <ul class="list_con fl">
         {% for news in data.news_list %}
            <li>
                <a href="/news/{{ news.id }}" class="news_pic fl" action="GET"><img src="{{ news.index_image_url }}?imageView2/1/w/170/h/170"></a>
                <a href="/news/{{ news.id }}" class="news_title fl">{{  news.title}}</a>
                <a href="/news/{{ news.id }}" class="news_detail fl">{{  news.digest}}</a>
                <div class="author_info fl">
                    <div class="author fl">
                        <a href="#">{{news.author}}</a>
                    </div>
                    <div class="time fl">{{news.create_time}}</div>
                    <div class="polarity fl">文章极性：{{ news.polarity }}</div>
                </div>
            </li>
            {% endfor %}
        </ul>
    </div>
{% endblock %}